@tsi-developpement/tsi-shared-ui 1.10.13 → 1.10.14
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 +3 -1
- package/esm2022/lib/models/application/configuration/workflow-info-response.mjs +14 -0
- package/esm2022/lib/models/index.mjs +2 -1
- package/esm2022/lib/services/application/api-explorer.service.mjs +4 -1
- package/esm2022/lib/tsi-components/create-or-edit-entity-informations/create-or-edit-entity-informations.component.mjs +22 -3
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +41 -3
- 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 +2 -0
- package/lib/models/application/configuration/workflow-info-response.d.ts +9 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/services/application/api-explorer.service.d.ts +2 -0
- 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 +1 -0
- package/lib/tsi-components/tsi-action-erp-create-or-edit/tsi-action-erp-create-or-edit.component.d.ts +1 -0
- package/lib/tsi-components/tsi-upload-fiche/tsi-upload-fiche.component.d.ts +1 -0
- 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 PresentationDesignerBaseService | typeof InputRegistryService | typeof
|
|
6
|
+
export declare const appProviders: (typeof PresentationDesignerBaseService | typeof InputRegistryService | typeof GenericValidationStateService | typeof DynamicFormService | 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,6 +235,7 @@ 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
241
|
getNombreFichierJointById: (uid: string) => string;
|
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';
|
|
@@ -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>;
|
|
@@ -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,6 +125,7 @@ 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
131
|
getNombreFichierJointById: (uid: string) => string;
|
|
@@ -114,6 +114,7 @@ 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
120
|
getNombreFichierJointById: (uid: string) => string;
|
|
@@ -121,6 +121,7 @@ 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
127
|
getNombreFichierJointById: (uid: string) => string;
|