@tsi-developpement/tsi-shared-ui 1.10.13 → 1.10.15
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/esm2022/lib/end-points/endpoints.mjs +4 -2
- package/esm2022/lib/end-points/user-identity-endpoints.mjs +3 -1
- package/esm2022/lib/models/application/configuration/workflow-info-response.mjs +14 -0
- package/esm2022/lib/models/entity-info/entity-info.mjs +1 -1
- package/esm2022/lib/models/index.mjs +2 -1
- package/esm2022/lib/services/application/api-explorer.service.mjs +4 -1
- package/esm2022/lib/services/fichier/fichier.service.mjs +3 -3
- package/esm2022/lib/tsi-components/create-or-edit-entity-informations/create-or-edit-entity-informations.component.mjs +22 -3
- package/esm2022/lib/tsi-components/reporting/reporting.component.mjs +1 -15
- package/esm2022/lib/tsi-components/tsi-form/tsi-form.component.mjs +8 -3
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +60 -30
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/consts/app-providers.d.ts +1 -1
- package/lib/end-points/endpoints.d.ts +3 -1
- package/lib/end-points/user-identity-endpoints.d.ts +2 -0
- package/lib/models/application/configuration/workflow-info-response.d.ts +9 -0
- package/lib/models/entity-info/entity-info.d.ts +4 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/providers/shared-ui-tsi.provider.d.ts +1 -1
- package/lib/services/application/api-explorer.service.d.ts +2 -0
- package/lib/services/fichier/fichier.service.d.ts +1 -1
- package/lib/tsi-components/create-or-edit-entity-informations/create-or-edit-entity-informations.component.d.ts +4 -1
- package/lib/tsi-components/manage-reporting/add-report-popup/add-report-popup.component.d.ts +2 -1
- package/lib/tsi-components/reporting/reporting.component.d.ts +0 -1
- package/lib/tsi-components/tsi-action-erp-create-or-edit/tsi-action-erp-create-or-edit.component.d.ts +2 -1
- package/lib/tsi-components/tsi-form/tsi-form.component.d.ts +1 -0
- package/lib/tsi-components/tsi-upload-fiche/tsi-upload-fiche.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3,4 +3,4 @@ import { FormStateService } from "../services/form/form-state.service";
|
|
|
3
3
|
import { PresentationDesignerBaseService } from "../services/presentation-setting/presentation-designer-base.service";
|
|
4
4
|
import { GenericValidationStateService } from "../services/validation/generic-validation-state.service";
|
|
5
5
|
import { InputRegistryService } from "../services/validation/input-registry.service";
|
|
6
|
-
export declare const appProviders: (typeof
|
|
6
|
+
export declare const appProviders: (typeof DynamicFormService | typeof PresentationDesignerBaseService | typeof GenericValidationStateService | typeof InputRegistryService | typeof FormStateService)[];
|
|
@@ -110,6 +110,7 @@ export declare const AdministrationSegments: {
|
|
|
110
110
|
entityRelations: string;
|
|
111
111
|
entityValidations: string;
|
|
112
112
|
endpointsInfo: string;
|
|
113
|
+
statusTransitionInfo: string;
|
|
113
114
|
parametres: string;
|
|
114
115
|
statusColor: string;
|
|
115
116
|
getStatusColorDetails: string;
|
|
@@ -234,9 +235,10 @@ export declare const AdministrationEndpoints: {
|
|
|
234
235
|
getEntityRelations: () => string;
|
|
235
236
|
getEntityValidations: (businessClass: string) => string;
|
|
236
237
|
getEndpointsInfos: (businessClass: string) => string;
|
|
238
|
+
getStatusTransitionInfo: (entityName: string) => string;
|
|
237
239
|
getStatusColorDetails: (businessClassName: string, statusEnumName: string) => string;
|
|
238
240
|
getStatusColorDetailsByBusinessClassName: (businessClassName: string) => string;
|
|
239
|
-
getNombreFichierJointById: (uid: string) => string;
|
|
241
|
+
getNombreFichierJointById: (uid: string, tableLiee: string) => string;
|
|
240
242
|
getAllTypeFichierMinimalByClasse: (classe: string) => string;
|
|
241
243
|
getTypeFichierMinimal: () => string;
|
|
242
244
|
getWorkflowEtatByClassNameAndDescriminator: (className: string, descriminatorValue?: string) => string;
|
|
@@ -27,6 +27,7 @@ export declare const IdentityPlatformSegments: {
|
|
|
27
27
|
checkBothChannelsValid: string;
|
|
28
28
|
sendVerificationUtilisateurByMFAResetPassword: string;
|
|
29
29
|
resendVerificationCodeEmail: string;
|
|
30
|
+
common: string;
|
|
30
31
|
};
|
|
31
32
|
export declare const IdentityPlatformEndpoints: {
|
|
32
33
|
getAllUsersMinimal: () => string;
|
|
@@ -70,4 +71,5 @@ export declare const IdentityPlatformEndpoints: {
|
|
|
70
71
|
checkIsExisteMFAAsync: () => string;
|
|
71
72
|
sendVerificationUtilisateurByMFAResetPassword: () => string;
|
|
72
73
|
resendVerificationCodeEmail: () => string;
|
|
74
|
+
getCommonParameters: () => string;
|
|
73
75
|
};
|
|
@@ -20,6 +20,10 @@ export declare class EntityInfo {
|
|
|
20
20
|
calendarStartDateColumn: string | undefined;
|
|
21
21
|
calendarEndDateColumn: string | undefined;
|
|
22
22
|
frequent: string | undefined;
|
|
23
|
+
createFunctionalityCode: string | undefined;
|
|
24
|
+
readFunctionalityCode: string | undefined;
|
|
25
|
+
updateFunctionalityCode: string | undefined;
|
|
26
|
+
deleteFunctionalityCode: string | undefined;
|
|
23
27
|
}
|
|
24
28
|
export declare class EntityRelation {
|
|
25
29
|
entityFrom: string | undefined;
|
package/lib/models/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from './tsi-card/tsi-card';
|
|
|
33
33
|
export * from './journalisation-application/journalisation-application';
|
|
34
34
|
export * from './journalisation-application/status-history';
|
|
35
35
|
export * from './application/configuration/endpoint-infos';
|
|
36
|
+
export * from './application/configuration/workflow-info-response';
|
|
36
37
|
export * from './application/configuration/entity-delete-behavior';
|
|
37
38
|
export * from './request-management/request-tracker-state';
|
|
38
39
|
export * from './request-management/request-tracker-config';
|
|
@@ -2,7 +2,7 @@ import { DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
|
|
|
2
2
|
import { TabView } from "primeng/tabview";
|
|
3
3
|
import { JwtHelperService } from "@auth0/angular-jwt";
|
|
4
4
|
import { ConfirmationService, MessageService } from "primeng/api";
|
|
5
|
-
export declare const SharedUiTsiProviders: (typeof
|
|
5
|
+
export declare const SharedUiTsiProviders: (typeof DynamicDialogRef | typeof DynamicDialogConfig | typeof TabView | typeof JwtHelperService | typeof MessageService | typeof ConfirmationService | {
|
|
6
6
|
provide: import("@angular/core").InjectionToken<unknown>;
|
|
7
7
|
useValue: import("@angular/core").InjectionToken<unknown>;
|
|
8
8
|
})[];
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EndpointInfos } from '../../models/application/configuration/endpoint-infos';
|
|
4
|
+
import { StatusTransitionsInfoResponse } from '../../models/application/configuration/workflow-info-response';
|
|
4
5
|
import { EntityDeleteBehaviorResponse } from '../../models/application/configuration/entity-delete-behavior';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ApiExplorerService {
|
|
7
8
|
private httpClient;
|
|
8
9
|
constructor(httpClient: HttpClient);
|
|
9
10
|
getEndpointsInfos(businessClass: string): Observable<EndpointInfos[]>;
|
|
11
|
+
getStatusTransitionInfo(entityName: string): Observable<StatusTransitionsInfoResponse>;
|
|
10
12
|
getEntityRelations(): Observable<EntityDeleteBehaviorResponse[]>;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiExplorerService, never>;
|
|
12
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiExplorerService>;
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class FichierService extends CrudBaseService<Fichier, Fichier, Fichier, Fichier> {
|
|
7
7
|
protected httpClient: HttpClient;
|
|
8
8
|
constructor(httpClient: HttpClient);
|
|
9
|
-
GetNombreFichierJointById(uid: string): Observable<number>;
|
|
9
|
+
GetNombreFichierJointById(uid: string, tableLiee: string): Observable<number>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FichierService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<FichierService>;
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyValue } from '@angular/common';
|
|
2
2
|
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
3
|
import { GridColumn } from '../../interfaces';
|
|
4
|
-
import { EntityColumnDetailResponse, EntityInfoWithRelations } from '../../models';
|
|
4
|
+
import { EntityColumnDetailResponse, EntityInfoWithRelations, StatusTransitionsInfoResponse } from '../../models';
|
|
5
5
|
import { EndpointInfos } from '../../models/application/configuration/endpoint-infos';
|
|
6
6
|
import { ApiExplorerService, EntityConfigurationService, ErrorResponseManagerService, TsiConfirmationService, TsiNotificationService } from '../../services';
|
|
7
7
|
import { TsiFormComponentBaseComponent } from '../../tsi-base/components/tsi-form-base/tsi-form-base.component';
|
|
@@ -19,6 +19,7 @@ export declare class CreateOrEditEntityInformationsComponent extends TsiFormComp
|
|
|
19
19
|
entityWithRelations: EntityInfoWithRelations;
|
|
20
20
|
keyColumnOptions: KeyValue<string, string>[];
|
|
21
21
|
endpointInfos: EndpointInfos[];
|
|
22
|
+
statusTransitionsInfo: StatusTransitionsInfoResponse | null;
|
|
22
23
|
componentsOptions: KeyValue<string, string>[];
|
|
23
24
|
uid?: string;
|
|
24
25
|
modelColumnsData: EntityColumnDetailResponse[];
|
|
@@ -32,11 +33,13 @@ export declare class CreateOrEditEntityInformationsComponent extends TsiFormComp
|
|
|
32
33
|
sqlComparisonMap: Map<string, Record<string, string>>;
|
|
33
34
|
propertiesGridColumns: Array<GridColumn>;
|
|
34
35
|
permissionsGridColumns: Array<GridColumn>;
|
|
36
|
+
workflowGridColumns: Array<GridColumn>;
|
|
35
37
|
entitiesRelationsColumns: Array<GridColumn>;
|
|
36
38
|
constructor(_entityInformationsService: EntityConfigurationService, _errorResponseManagerService: ErrorResponseManagerService, ref: DynamicDialogRef, config: DynamicDialogConfig, _notificationService: TsiNotificationService, _confirmationService: TsiConfirmationService, _apiExplorerService: ApiExplorerService, _stripedRowsLayoutHelperService: LayoutHelperService);
|
|
37
39
|
get stripedRows(): boolean;
|
|
38
40
|
getColonnesByClassNameAsKeyValuePair(className?: string): void;
|
|
39
41
|
getPermissionsByClassName(): void;
|
|
42
|
+
getStatusTransitionsInfoByClassName(): void;
|
|
40
43
|
ngOnInit(): void;
|
|
41
44
|
save(): void;
|
|
42
45
|
getPropertiesData(): void;
|
package/lib/tsi-components/manage-reporting/add-report-popup/add-report-popup.component.d.ts
CHANGED
|
@@ -125,9 +125,10 @@ export declare class AddReportPopupComponent extends TsiFormComponentBaseCompone
|
|
|
125
125
|
getEntityRelations: () => string;
|
|
126
126
|
getEntityValidations: (businessClass: string) => string;
|
|
127
127
|
getEndpointsInfos: (businessClass: string) => string;
|
|
128
|
+
getStatusTransitionInfo: (entityName: string) => string;
|
|
128
129
|
getStatusColorDetails: (businessClassName: string, statusEnumName: string) => string;
|
|
129
130
|
getStatusColorDetailsByBusinessClassName: (businessClassName: string) => string;
|
|
130
|
-
getNombreFichierJointById: (uid: string) => string;
|
|
131
|
+
getNombreFichierJointById: (uid: string, tableLiee: string) => string;
|
|
131
132
|
getAllTypeFichierMinimalByClasse: (classe: string) => string;
|
|
132
133
|
getTypeFichierMinimal: () => string;
|
|
133
134
|
getWorkflowEtatByClassNameAndDescriminator: (className: string, descriminatorValue?: string | undefined) => string;
|
|
@@ -102,7 +102,6 @@ export declare class ReportingComponent implements OnInit, OnDestroy {
|
|
|
102
102
|
onSendPdf(event: any): void;
|
|
103
103
|
private _sendPdf;
|
|
104
104
|
private _exportPdf;
|
|
105
|
-
getNombreFichier(): void;
|
|
106
105
|
showUploadDialog(): Promise<void>;
|
|
107
106
|
onDragOver(event: DragEvent): void;
|
|
108
107
|
onDrop(event: DragEvent): void;
|
|
@@ -114,9 +114,10 @@ export declare class TsiActionErpCreateOrEditComponent extends TsiFormComponentB
|
|
|
114
114
|
getEntityRelations: () => string;
|
|
115
115
|
getEntityValidations: (businessClass: string) => string;
|
|
116
116
|
getEndpointsInfos: (businessClass: string) => string;
|
|
117
|
+
getStatusTransitionInfo: (entityName: string) => string;
|
|
117
118
|
getStatusColorDetails: (businessClassName: string, statusEnumName: string) => string;
|
|
118
119
|
getStatusColorDetailsByBusinessClassName: (businessClassName: string) => string;
|
|
119
|
-
getNombreFichierJointById: (uid: string) => string;
|
|
120
|
+
getNombreFichierJointById: (uid: string, tableLiee: string) => string;
|
|
120
121
|
getAllTypeFichierMinimalByClasse: (classe: string) => string;
|
|
121
122
|
getTypeFichierMinimal: () => string;
|
|
122
123
|
getWorkflowEtatByClassNameAndDescriminator: (className: string, descriminatorValue?: string | undefined) => string;
|
|
@@ -121,6 +121,7 @@ export declare class TsiFormComponent implements OnInit, AfterViewInit, AfterCon
|
|
|
121
121
|
entityConfigurationService: EntityConfigurationService;
|
|
122
122
|
requestTrackerService: RequestTrackerService;
|
|
123
123
|
showActionButton: boolean;
|
|
124
|
+
private excludedEntitiesFromFichierCount;
|
|
124
125
|
constructor(entityStatusService: EntityStatusService, statusColorService: StatusColorService, _fichierService: FichierService, _errorResponseManagerService: ErrorResponseManagerService, _tsiConfirmService: TsiConfirmationService, _tsiNotificationService: TsiNotificationService, _cdr: ChangeDetectorRef, _layoutHelperService: LayoutHelperService, workflowConfigurationService: WorkflowConfigurationService, _colonnePersonnaliseeService: ColonnePersonnaliseeService, _formStateService: FormStateService, ref?: DynamicDialogRef<any> | undefined, config?: DynamicDialogConfig<any> | undefined);
|
|
125
126
|
ngAfterContentChecked(): void;
|
|
126
127
|
ngOnDestroy(): void;
|
|
@@ -121,9 +121,10 @@ export declare class TsiUploadFicheComponent extends TsiFormComponentBaseCompone
|
|
|
121
121
|
getEntityRelations: () => string;
|
|
122
122
|
getEntityValidations: (businessClass: string) => string;
|
|
123
123
|
getEndpointsInfos: (businessClass: string) => string;
|
|
124
|
+
getStatusTransitionInfo: (entityName: string) => string;
|
|
124
125
|
getStatusColorDetails: (businessClassName: string, statusEnumName: string) => string;
|
|
125
126
|
getStatusColorDetailsByBusinessClassName: (businessClassName: string) => string;
|
|
126
|
-
getNombreFichierJointById: (uid: string) => string;
|
|
127
|
+
getNombreFichierJointById: (uid: string, tableLiee: string) => string;
|
|
127
128
|
getAllTypeFichierMinimalByClasse: (classe: string) => string;
|
|
128
129
|
getTypeFichierMinimal: () => string;
|
|
129
130
|
getWorkflowEtatByClassNameAndDescriminator: (className: string, descriminatorValue?: string | undefined) => string;
|