@tsi-developpement/tsi-shared-ui 1.11.1 → 1.11.3

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.
@@ -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 GenericValidationStateService | typeof InputRegistryService | typeof DynamicFormService | typeof FormStateService)[];
6
+ export declare const appProviders: (typeof GenericValidationStateService | typeof InputRegistryService | typeof PresentationDesignerBaseService | typeof DynamicFormService | typeof FormStateService)[];
@@ -26,6 +26,7 @@ export declare const ReportingSegments: {
26
26
  deleteDefaultReportTemplateFile: string;
27
27
  dashboardModule: string;
28
28
  toggleSeedOnStartup: string;
29
+ duplicateReport: string;
29
30
  };
30
31
  export declare const ReportingEndpoints: {
31
32
  addToBuiltInTemplate: (reportUid: string) => string;
@@ -52,4 +53,5 @@ export declare const ReportingEndpoints: {
52
53
  getReportDescriminator: (entityName: string, propertyName: string, propertyValue: string) => string;
53
54
  getReportTemplateByModuleCode: (moduleCode: string) => string;
54
55
  toggleSeedOnStartup: (formName: string, templateName: string) => string;
56
+ duplicateReport: (uid: string) => string;
55
57
  };
@@ -10,4 +10,5 @@ export interface ReportTemplateResponse {
10
10
  reportName?: string;
11
11
  shortName?: string;
12
12
  display: boolean;
13
+ isReadOnly: boolean;
13
14
  }
@@ -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 TabView | typeof DynamicDialogRef | typeof DynamicDialogConfig | typeof JwtHelperService | typeof MessageService | typeof ConfirmationService | {
5
+ export declare const SharedUiTsiProviders: (typeof DynamicDialogRef | typeof DynamicDialogConfig | typeof JwtHelperService | typeof TabView | typeof MessageService | typeof ConfirmationService | {
6
6
  provide: import("@angular/core").InjectionToken<unknown>;
7
7
  useValue: import("@angular/core").InjectionToken<unknown>;
8
8
  })[];
@@ -28,6 +28,7 @@ export declare class ReportingService {
28
28
  insertNewUidInRestEndPoint(restEndPoint?: string, newUid?: string): string | undefined;
29
29
  deleteDefaultReportTemplateFile(formName: string, templateName: string): Observable<any>;
30
30
  toggleSeedOnStartup(formName: string, templateName: string): Observable<any>;
31
+ duplicateReport(uid: string, newName: string): Observable<any>;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportingService, never>;
32
33
  static ɵprov: i0.ɵɵInjectableDeclaration<ReportingService>;
33
34
  }
@@ -32,6 +32,7 @@ export declare class AddReportPopupComponent extends TsiFormComponentBaseCompone
32
32
  duplicate: string;
33
33
  };
34
34
  isEditionPersonnalise: boolean;
35
+ isReadOnlySource: boolean;
35
36
  administrationEndpoints: {
36
37
  getAllEntityStatus: (classeName: string | undefined) => string;
37
38
  getStatusTransitions: (className: string, currentStatus: string) => string;
@@ -156,6 +157,8 @@ export declare class AddReportPopupComponent extends TsiFormComponentBaseCompone
156
157
  enableMultiSelectEndpoints: boolean;
157
158
  private _isReportForFiche;
158
159
  get isReportForFiche(): boolean;
160
+ get lockAllButName(): boolean;
161
+ get lockAllButDisplay(): boolean;
159
162
  report: {
160
163
  reportType: string;
161
164
  reportName: string;
@@ -92,6 +92,7 @@ export declare class ManageReportingComponent extends TsiFormComponentBaseCompon
92
92
  _sendReport(uid: string): void;
93
93
  _editReport(uid: string): void;
94
94
  private _deleteReport;
95
+ private _duplicateReport;
95
96
  private _setDefaultReport;
96
97
  private _exportReport;
97
98
  private _importToReport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsi-developpement/tsi-shared-ui",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "author": "TSI",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {