@tsi-developpement/tsi-shared-ui 1.8.38 → 1.8.39

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.
@@ -1,3 +1,5 @@
1
1
  export declare class BusinessClassNames {
2
2
  static ActionERP: string;
3
+ static NatureAction: string;
4
+ static Utilisateur: string;
3
5
  }
@@ -137,6 +137,8 @@ export declare const AdministrationSegments: {
137
137
  allResultatActionCRMEnum: string;
138
138
  data: string;
139
139
  single: string;
140
+ GetNatureActionSuivanteByOrdre: string;
141
+ natureAction: string;
140
142
  };
141
143
  export declare const AdministrationEndpoints: {
142
144
  getAllEntityStatus: (classeName: string | undefined) => string;
@@ -250,4 +252,7 @@ export declare const AdministrationEndpoints: {
250
252
  allPrioriteActionCRMEnum: () => string;
251
253
  getEntityData: (businessClass: string) => string;
252
254
  getEntityDataById: (businessClass: string) => string;
255
+ GetNatureActionSuivanteByOrdre: (id?: string) => string;
256
+ getAllNatureActionMinimal: () => string;
257
+ getNatureActionMinimal: () => string;
253
258
  };
@@ -14,7 +14,11 @@ export declare class ActionERP {
14
14
  dateHeureFinRealisee?: Date;
15
15
  utilisateurDemandeur: string | undefined;
16
16
  utilisateurAssigne: string | undefined;
17
+ natureAction: string | undefined;
18
+ actionPrecedente: string | undefined;
17
19
  actionERPDetails: ActionERPDetail[];
20
+ actionERPUtilisateurs: ActionERPUtilisateur[];
21
+ codeActionPrecedente: number | undefined;
18
22
  }
19
23
  export declare class ActionERPDetail {
20
24
  uid?: string;
@@ -22,6 +26,12 @@ export declare class ActionERPDetail {
22
26
  occurence?: string;
23
27
  classe?: string;
24
28
  }
29
+ export declare class ActionERPUtilisateur {
30
+ uid?: string;
31
+ actionERP: string | undefined;
32
+ utilisateur: string | undefined;
33
+ obligatoire: boolean;
34
+ }
25
35
  export declare enum StatutActionCRMEnum {
26
36
  EnAttente = "En Attente",
27
37
  Realisee = "Realis\u00E9e",
@@ -0,0 +1,12 @@
1
+ export declare class NatureAction {
2
+ uid: string | undefined;
3
+ code: string | undefined;
4
+ libelle: string | undefined;
5
+ observation: string | undefined;
6
+ type: string | undefined;
7
+ ordre: number | undefined;
8
+ natureDocument: string | undefined;
9
+ realisateur: string | undefined;
10
+ couleur: string | undefined;
11
+ constructor();
12
+ }
@@ -0,0 +1,12 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { CrudBaseService } from '../base/crud-base.service';
3
+ import { NatureAction } from '../../models/actionErp/nature-action';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NatureActionService extends CrudBaseService<NatureAction, NatureAction, NatureAction, NatureAction> {
7
+ protected httpClient: HttpClient;
8
+ constructor(httpClient: HttpClient);
9
+ GetNatureActionSuivanteByOrdre(uid?: string): Observable<NatureAction>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NatureActionService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<NatureActionService>;
12
+ }
@@ -144,6 +144,9 @@ export declare class AddReportPopupComponent extends TsiFormComponentBaseCompone
144
144
  allPrioriteActionCRMEnum: () => string;
145
145
  getEntityData: (businessClass: string) => string;
146
146
  getEntityDataById: (businessClass: string) => string;
147
+ GetNatureActionSuivanteByOrdre: (id?: string | undefined) => string;
148
+ getAllNatureActionMinimal: () => string;
149
+ getNatureActionMinimal: () => string;
147
150
  };
148
151
  reportBusinessClass?: string;
149
152
  customReportingMode?: boolean;
@@ -1,18 +1,21 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { TsiFormComponentBaseComponent } from '../../tsi-base';
3
3
  import { ActionERP, occurenceInfos } from '../../models/actionErp/actionErp';
4
- import { ActionErpService, ErrorResponseManagerService, TsiNotificationService, TsiConfirmationService, EntityConfigurationService, TsiModalService, IdentityManagerService } from '../../services';
4
+ import { ActionErpService, ErrorResponseManagerService, TsiNotificationService, TsiConfirmationService, EntityConfigurationService, IdentityManagerService } from '../../services';
5
5
  import { GridColumn } from '../../interfaces';
6
- import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
6
+ import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
7
+ import { BusinessClassNames } from '../../consts/business-class-names';
7
8
  import { LocalizePipe } from '../../pipes';
9
+ import { NatureActionService } from '../../services/actionErp/nature-action-service.service';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare class TsiActionErpCreateOrEditComponent extends TsiFormComponentBaseComponent implements OnInit {
10
12
  _actionservice: ActionErpService;
13
+ _natureActionservice: NatureActionService;
11
14
  private _errorResponseManagerService;
12
15
  private _notificationService;
13
16
  private _confirmationService;
14
17
  entityConfigurationService: EntityConfigurationService;
15
- private _tsiModalService;
18
+ private _dialogService;
16
19
  private _identityManagerService;
17
20
  private _localize;
18
21
  config: DynamicDialogConfig;
@@ -130,9 +133,13 @@ export declare class TsiActionErpCreateOrEditComponent extends TsiFormComponentB
130
133
  allPrioriteActionCRMEnum: () => string;
131
134
  getEntityData: (businessClass: string) => string;
132
135
  getEntityDataById: (businessClass: string) => string;
136
+ GetNatureActionSuivanteByOrdre: (id?: string | undefined) => string;
137
+ getAllNatureActionMinimal: () => string;
138
+ getNatureActionMinimal: () => string;
133
139
  };
134
140
  businnessClassName: string;
135
141
  occurenceInfos: occurenceInfos | null;
142
+ classename: any;
136
143
  modeRef: {
137
144
  edit: string;
138
145
  create: string;
@@ -141,13 +148,21 @@ export declare class TsiActionErpCreateOrEditComponent extends TsiFormComponentB
141
148
  consult: string;
142
149
  duplicate: string;
143
150
  };
144
- constructor(_actionservice: ActionErpService, _errorResponseManagerService: ErrorResponseManagerService, _notificationService: TsiNotificationService, _confirmationService: TsiConfirmationService, entityConfigurationService: EntityConfigurationService, _tsiModalService: TsiModalService, _identityManagerService: IdentityManagerService, _localize: LocalizePipe, config: DynamicDialogConfig, ref?: DynamicDialogRef<any> | undefined);
151
+ businessClassNames: typeof BusinessClassNames;
152
+ actionPrecedenteCode: number | undefined;
153
+ constructor(_actionservice: ActionErpService, _natureActionservice: NatureActionService, _errorResponseManagerService: ErrorResponseManagerService, _notificationService: TsiNotificationService, _confirmationService: TsiConfirmationService, entityConfigurationService: EntityConfigurationService, _dialogService: DialogService, _identityManagerService: IdentityManagerService, _localize: LocalizePipe, config: DynamicDialogConfig, ref?: DynamicDialogRef<any> | undefined);
145
154
  ngOnInit(): void;
146
155
  actiondetailcolom: Array<GridColumn>;
156
+ participantColumns: Array<GridColumn>;
147
157
  getOccurenceListUrl(row: any): string;
148
158
  getOccurenceUrl(row: any): string;
149
159
  save(): void;
150
160
  consultElement(item: any): void;
161
+ createElement(classe: string): void;
162
+ onClasseSelected(selected: any): void;
163
+ openActionERPPopUp(): Promise<void>;
164
+ onNatureActionChange(natureActionId: string): void;
165
+ openActionPrecedentePopup(): void;
151
166
  static ɵfac: i0.ɵɵFactoryDeclaration<TsiActionErpCreateOrEditComponent, never>;
152
167
  static ɵcmp: i0.ɵɵComponentDeclaration<TsiActionErpCreateOrEditComponent, "lib-tsi-action-erp-create-or-edit", never, {}, {}, never, never, false, never>;
153
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsi-developpement/tsi-shared-ui",
3
- "version": "1.8.38",
3
+ "version": "1.8.39",
4
4
  "author": "TSI",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {